package com.hornsun.domain.dbo;

public class OrderFormDetail {
    private String orderGuid;//订单id

    private String commodityGuid;//商品id

    private String image;//下单时图片的地址

    private String description;//下单时的描述

    private Float price;//下单时的价格

    private Integer count;//购买数量

    public String getOrderGuid() {
        return orderGuid;
    }

    public void setOrderGuid(String orderGuid) {
        this.orderGuid = orderGuid == null ? null : orderGuid.trim();
    }

    public String getCommodityGuid() {
        return commodityGuid;
    }

    public void setCommodityGuid(String commodityGuid) {
        this.commodityGuid = commodityGuid == null ? null : commodityGuid.trim();
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image == null ? null : image.trim();
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description == null ? null : description.trim();
    }

    public Float getPrice() {
        return price;
    }

    public void setPrice(Float price) {
        this.price = price;
    }

    public Integer getCount() {
        return count;
    }

    public void setCount(Integer count) {
        this.count = count;
    }

    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();
        sb.append(getClass().getSimpleName());
        sb.append(" [");
        sb.append("Hash = ").append(hashCode());
        sb.append(", orderGuid=").append(orderGuid);
        sb.append(", commodityGuid=").append(commodityGuid);
        sb.append(", image=").append(image);
        sb.append(", description=").append(description);
        sb.append(", price=").append(price);
        sb.append(", count=").append(count);
        sb.append("]");
        return sb.toString();
    }
}